package algorithm.common;

import java.util.Scanner;

/**
 * @Author: Hevery
 * @Description:
 * @Date: Created on 2017/9/9
 * @Modified By:
 */
public class Main6 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int t = scan.nextInt();
        for(int i=0;i<t;i++){
            int n = scan.nextInt();
            int []A = new int[n];
            for(int j=0;j< A.length;j++){
                A[i] = scan.nextInt();
            }
           // resort(A);
        }



    }
   /* public static void resort(int[] A){
        int sum = 0;
        for(int i = 0;i<A.length;i++){
            sum *= A[i];
        }
        while(){

        }
    }*/
}
